﻿using System;
using Useful.GUI;

namespace Useful.MVP
{
    public delegate void ShowWaitingDelegate(object context, string message, GuiHelper.ProcessActionDelegate progress);

    public interface IView
    {
        event EventHandler<ExceptionEventArgs> ExceptionRaised;
        event EventHandler<EventArgs> Loaded;

        ShowWaitingDelegate ShowWaiting { get; set; }
    }
}
